mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-05-12 01:34:45 +00:00
ntf server: fix resubscribing to SMP server after it was restarted, test (#465)
This commit is contained in:
committed by
GitHub
parent
991548b64d
commit
7a238812b7
@@ -99,6 +99,7 @@ data PushNotification
|
||||
| PNMessage PNMessageData
|
||||
| PNAlert Text
|
||||
| PNCheckMessages
|
||||
deriving (Show)
|
||||
|
||||
data PNMessageData = PNMessageData
|
||||
{ smpQueue :: SMPQueueNtf,
|
||||
@@ -106,6 +107,7 @@ data PNMessageData = PNMessageData
|
||||
nmsgNonce :: C.CbNonce,
|
||||
encNMsgMeta :: EncNMsgMeta
|
||||
}
|
||||
deriving (Show)
|
||||
|
||||
instance StrEncoding PNMessageData where
|
||||
strEncode PNMessageData {smpQueue, ntfTs, nmsgNonce, encNMsgMeta} =
|
||||
|
||||
Reference in New Issue
Block a user