mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 17:31:55 +00:00
remove proof from cards, send owner public key for channel to relay
This commit is contained in:
1 parent
867949d2aa
commit
4bdeb68cc5
16 files changed
+155
-233
No files matched your search
@@ -748,13 +748,6 @@ getTestMember cc gName mName =
|
||||
)
|
||||
>>= either (fail . show) pure
|
||||
|
||||
lastItemContent :: TestCC -> IO String
|
||||
lastItemContent cc =
|
||||
withCCTransaction cc $ \db ->
|
||||
DB.query_ db "SELECT item_content FROM chat_items ORDER BY chat_item_id DESC LIMIT 1" >>= \case
|
||||
[Only c] -> pure $ T.unpack c
|
||||
_ -> fail "no chat items"
|
||||
|
||||
storedBadgeHeader :: LocalProfile -> Maybe (String, BadgeStatus)
|
||||
storedBadgeHeader LocalProfile {localBadge} = case localBadge of
|
||||
Just (PeerBadge b st) -> Just (proofHeaderTag b, st)
|
||||
|
||||
Reference in new issue
Block a user