diff options
Diffstat (limited to 'bridge/matrix')
-rw-r--r-- | bridge/matrix/matrix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/matrix/matrix.go b/bridge/matrix/matrix.go index 628e8d91..2fd91b32 100644 --- a/bridge/matrix/matrix.go +++ b/bridge/matrix/matrix.go @@ -109,7 +109,7 @@ func (b *Bmatrix) handlematrix() error { username = re.ReplaceAllString(username, `$1`) } flog.Debugf("Sending message from %s on %s to gateway", ev.Sender, b.Account) - b.Remote <- config.Message{Username: username, Text: ev.Content["body"].(string), Channel: channel, Account: b.Account} + b.Remote <- config.Message{Username: username, Text: ev.Content["body"].(string), Channel: channel, Account: b.Account, UserID: ev.Sender} } flog.Debugf("Received: %#v", ev) }) |