mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 06:25:20 +00:00
Fix block command documentation and add to autocomplete
- Change @user to @name in all documentation - Change 'blocked users' to 'blocked peers' for consistency - Add /block and /unblock commands to autocomplete menu
This commit is contained in:
@@ -2256,7 +2256,7 @@ extension ChatViewModel: BitchatDelegate {
|
||||
if blockedUsers.isEmpty {
|
||||
let systemMessage = BitchatMessage(
|
||||
sender: "system",
|
||||
content: "no blocked users.",
|
||||
content: "no blocked peers.",
|
||||
timestamp: Date(),
|
||||
isRelay: false
|
||||
)
|
||||
@@ -2280,10 +2280,10 @@ extension ChatViewModel: BitchatDelegate {
|
||||
}
|
||||
}
|
||||
|
||||
let blockedList = blockedNicknames.isEmpty ? "blocked users (not currently online)" : blockedNicknames.sorted().joined(separator: ", ")
|
||||
let blockedList = blockedNicknames.isEmpty ? "blocked peers (not currently online)" : blockedNicknames.sorted().joined(separator: ", ")
|
||||
let systemMessage = BitchatMessage(
|
||||
sender: "system",
|
||||
content: "blocked users: \(blockedList)",
|
||||
content: "blocked peers: \(blockedList)",
|
||||
timestamp: Date(),
|
||||
isRelay: false
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user