chore: fill holes in ChatType enum (#14257)
* chore: fill holes in ChatType enum * chore: fix Spacing warning
This commit is contained in:
parent
d86be3a970
commit
89408adc00
|
@ -55,7 +55,11 @@ switch("warning", "UnreachableElse:off")
|
||||||
# Those are popular to miss in our app, and quickly make build log unreadable, so we want to prevent them
|
# Those are popular to miss in our app, and quickly make build log unreadable, so we want to prevent them
|
||||||
switch("warningAsError", "UseBase:on")
|
switch("warningAsError", "UseBase:on")
|
||||||
switch("warningAsError", "UnusedImport:on")
|
switch("warningAsError", "UnusedImport:on")
|
||||||
|
switch("warningAsError", "Deprecated:on")
|
||||||
|
switch("warningAsError", "HoleEnumConv:on")
|
||||||
|
|
||||||
# Workaround for https://github.com/nim-lang/Nim/issues/23429
|
# Workaround for https://github.com/nim-lang/Nim/issues/23429
|
||||||
switch("warning", "UseBase:on")
|
switch("warning", "UseBase:on")
|
||||||
switch("warning", "UnusedImport:on")
|
switch("warning", "UnusedImport:on")
|
||||||
|
switch("warning", "Deprecated:on")
|
||||||
|
switch("warning", "HoleEnumConv:on")
|
||||||
|
|
|
@ -13,6 +13,7 @@ type ChatType* {.pure.}= enum
|
||||||
Public = 2,
|
Public = 2,
|
||||||
PrivateGroupChat = 3,
|
PrivateGroupChat = 3,
|
||||||
Profile = 4,
|
Profile = 4,
|
||||||
|
Timeline {.deprecated.} = 5,
|
||||||
CommunityChat = 6
|
CommunityChat = 6
|
||||||
|
|
||||||
type ChannelGroupType* {.pure.}= enum
|
type ChannelGroupType* {.pure.}= enum
|
||||||
|
|
Loading…
Reference in New Issue