mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-24 06:13:39 +00:00
add folder deletion
This commit is contained in:
1 parent
abc96972dc
commit
c18dab7bd4
6 files changed
+52
-6
No files matched your search
@@ -26,6 +26,9 @@ testNotes tmp = withNewTestChat tmp "alice" aliceProfile $ \alice -> do
|
||||
alice <## "message deleted"
|
||||
alice ##> "/tail"
|
||||
|
||||
alice ##> "/delete $self"
|
||||
alice <## "note folder self deleted"
|
||||
|
||||
testUserNotes :: FilePath -> IO ()
|
||||
testUserNotes tmp = withNewTestChat tmp "alice" aliceProfile $ \alice -> do
|
||||
alice ##> "/note folder self"
|
||||
@@ -42,5 +45,7 @@ testUserNotes tmp = withNewTestChat tmp "alice" aliceProfile $ \alice -> do
|
||||
|
||||
alice ##> "/note folder gossip"
|
||||
alice <## "new note folder created, write to $gossip to add notes"
|
||||
|
||||
alice ##> "/tail"
|
||||
|
||||
alice ##> "/_delete item $1 1 internal"
|
||||
alice <## "chat db error: SENoteFolderNotFound {noteFolderId = 1}"
|
||||
Reference in new issue
Block a user