Use the t tag for hashtags
Changelog-Changed: #hashtags now use the `t` tag instead of `hashtag` Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -80,6 +80,7 @@ func should_show_chatroom(_ ev: NostrEvent) -> Bool {
|
||||
}
|
||||
|
||||
func tag_is_hashtag(_ tag: [String]) -> Bool {
|
||||
// "hashtag" is deprecated, will remove in the future
|
||||
return tag.count >= 2 && (tag[0] == "hashtag" || tag[0] == "t")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user