aboutsummaryrefslogtreecommitdiff
path: root/hotline/transaction_handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'hotline/transaction_handlers.go')
-rw-r--r--hotline/transaction_handlers.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/hotline/transaction_handlers.go b/hotline/transaction_handlers.go
index 2dc5e06..46fe362 100644
--- a/hotline/transaction_handlers.go
+++ b/hotline/transaction_handlers.go
@@ -1704,8 +1704,6 @@ func HandleInviteNewChat(cc *ClientConn, t *Transaction) (res []Transaction, err
targetID := t.GetField(fieldUserID).Data
newChatID := cc.Server.NewPrivateChat(cc)
- // Halcyon does not accept private chats.
-
// Check if target user has "Refuse private chat" flag
binary.BigEndian.Uint16(targetID)
targetClient := cc.Server.Clients[binary.BigEndian.Uint16(targetID)]
@@ -1716,7 +1714,7 @@ func HandleInviteNewChat(cc *ClientConn, t *Transaction) (res []Transaction, err
*NewTransaction(
tranServerMsg,
cc.ID,
- NewField(fieldData, []byte(string(targetClient.UserName)+" does not accept private messages.")),
+ NewField(fieldData, []byte(string(targetClient.UserName)+" does not accept private chats.")),
NewField(fieldUserName, targetClient.UserName),
NewField(fieldUserID, *targetClient.ID),
NewField(fieldOptions, []byte{0, 2}),