From d8f9f44ae0db34b869e6b5e102c7b30d38a5caf4 Mon Sep 17 00:00:00 2001
From: or-else <or.else@gmail.com>
Date: Mon, 20 Mar 2023 14:47:28 -0700
Subject: [PATCH] update comment per code review

---
 server/topic.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/topic.go b/server/topic.go
index 946f364c..03cc78c4 100644
--- a/server/topic.go
+++ b/server/topic.go
@@ -965,7 +965,7 @@ func (t *Topic) saveAndBroadcastMessage(msg *ClientComMessage, asUid types.Uid,
 	}
 
 	if msg.sess != nil && msg.sess.uid != asUid {
-		// Add 'sender' header indicating that message was sent on behalf of another user.
+		// The "sender" header contains ID of the user who sent the message on behalf of asUid.
 		if head == nil {
 			head = map[string]interface{}{}
 		}
-- 
GitLab