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")
|
||||||
|
|
|
@ -650,7 +650,7 @@ proc terminateCurrentFlow*(self: Controller, lastStepInTheCurrentFlow: bool, nex
|
||||||
exportedEncryptionPubKey = flowEvent.generatedWalletAccounts[0].publicKey # encryption key is at position 0
|
exportedEncryptionPubKey = flowEvent.generatedWalletAccounts[0].publicKey # encryption key is at position 0
|
||||||
if exportedEncryptionPubKey.len > 0:
|
if exportedEncryptionPubKey.len > 0:
|
||||||
self.tmpFlowData.password = exportedEncryptionPubKey
|
self.tmpFlowData.password = exportedEncryptionPubKey
|
||||||
for i in 0..< self.tmpRequestedPathsAlongWithAuthentication.len:
|
for i in 0..<self.tmpRequestedPathsAlongWithAuthentication.len:
|
||||||
var path = self.tmpRequestedPathsAlongWithAuthentication[i]
|
var path = self.tmpRequestedPathsAlongWithAuthentication[i]
|
||||||
self.tmpFlowData.additinalPathsDetails[path] = KeyDetails(
|
self.tmpFlowData.additinalPathsDetails[path] = KeyDetails(
|
||||||
address: flowEvent.generatedWalletAccounts[i].address,
|
address: flowEvent.generatedWalletAccounts[i].address,
|
||||||
|
|
|
@ -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