mirror of
https://dev.narayana.im/narayana/telegabber.git
synced 2026-08-05 12:17:06 +00:00
Merge branch 'master' into muc
This commit is contained in:
commit
c6ca9c02c8
1 changed files with 2 additions and 1 deletions
|
|
@ -1323,7 +1323,8 @@ func (c *Client) messageToPrefix(message *client.Message, previewString string,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!isPM && !c.Session.MUC) || !c.Session.HideIds {
|
// with hideids options enabled, hide the id for everything but non-carbons in legacy group chats
|
||||||
|
if (!isPM && !c.Session.MUC && !(c.isCarbonsEnabled() && message.IsOutgoing)) || !c.Session.HideIds {
|
||||||
prefix = append(prefix, directionChar+strconv.FormatInt(message.Id, 10))
|
prefix = append(prefix, directionChar+strconv.FormatInt(message.Id, 10))
|
||||||
}
|
}
|
||||||
// show sender in group chats
|
// show sender in group chats
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue