From 0e2522279e8671a345c1be6b8b07c0f1a505e23e Mon Sep 17 00:00:00 2001 From: David Hill Date: Wed, 7 Nov 2018 14:36:50 -0500 Subject: Clean up various stuff (#508) * various cleanups --- gateway/gateway.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gateway') diff --git a/gateway/gateway.go b/gateway/gateway.go index c1905a9b..fb2cff4f 100644 --- a/gateway/gateway.go +++ b/gateway/gateway.go @@ -310,9 +310,9 @@ func (gw *Gateway) handleMessage(msg config.Message, dest *bridge.Bridge) []*BrM msg.Channel = originchannel } - msg.ParentID = gw.getDestMsgID(canonicalParentMsgID, dest, channel) + msg.ParentID = gw.getDestMsgID(canonicalParentMsgID, dest, channel) if msg.ParentID == "" { - msg.ParentID = canonicalParentMsgID + msg.ParentID = canonicalParentMsgID } mID, err := dest.Send(msg) -- cgit v1.2.3