This commit is contained in:
Ryan Zhao 2021-08-03 14:26:59 +10:00
parent 7c82ede432
commit 36f592be4b
1 changed files with 0 additions and 5 deletions

View File

@ -44,9 +44,4 @@ public final class MentionUtilities : NSObject {
}
return result
}
public static func isUserMentioned(in string: String) -> Bool {
let userPublicKey = getUserHexEncodedPublicKey()
return string.contains("@\(userPublicKey)")
}
}