Suggestions from @42wim.

This commit is contained in:
Patrick Connolly
2018-11-06 06:35:35 +08:00
parent 64ece62200
commit e6e8c74649

View File

@@ -302,8 +302,6 @@ func (gw *Gateway) handleMessage(msg config.Message, dest *bridge.Bridge) []*BrM
msg.Channel = channel.Name
msg.Avatar = gw.modifyAvatar(origmsg, dest)
msg.Username = gw.modifyUsername(origmsg, dest)
msg.ID = ""
msg.ParentID = gw.getDestMsgID(canonicalParentMsgID, dest, channel)
msg.ID = gw.getDestMsgID(origmsg.ID, dest, channel)