postview: add hashtag suggestions
Closes: #2604 Changelog-Changes: Add hashtag suggestions to post view Signed-off-by: Swift Coder <scoder1747@gmail.com>
This commit is contained in:
committed by
William Casarin
parent
7c805f7f23
commit
b1b032d905
@@ -44,6 +44,7 @@ struct MainView: View {
|
||||
.onReceive(handle_notify(.logout)) { () in
|
||||
try? clear_keypair()
|
||||
keypair = nil
|
||||
SuggestedHashtagsView.lastRefresh_hashtags.removeAll()
|
||||
// We need to disconnect and reconnect to all relays when the user signs out
|
||||
// This is to conform to NIP-42 and ensure we aren't persisting old connections
|
||||
notify(.disconnect_relays)
|
||||
|
||||
Reference in New Issue
Block a user