aboutsummaryrefslogtreecommitdiff
path: root/appservice/db.go
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-17 19:52:50 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-17 19:52:50 +0100
commit5ab2608ee8bd36b7c7b0d670d24b5851250e3887 (patch)
tree991da5f05ab7f1370d3d959fe1d0ada9c1ac18b3 /appservice/db.go
parenta4dd3b310d68f5c6147bdeaf8ecd3556c2cf7859 (diff)
downloadeasybridge-5ab2608ee8bd36b7c7b0d670d24b5851250e3887.tar.gz
easybridge-5ab2608ee8bd36b7c7b0d670d24b5851250e3887.zip
Send error messages in a system room. (next: error messages the other way around)
Diffstat (limited to 'appservice/db.go')
-rw-r--r--appservice/db.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/appservice/db.go b/appservice/db.go
index 512e7b5..1c68e6f 100644
--- a/appservice/db.go
+++ b/appservice/db.go
@@ -131,11 +131,11 @@ func dbGetMxPmRoom(protocol string, them connector.UserID, themMxId string, usMx
return "", err
}
- err = mxRoomJoinAs(mx_room_id, themMxId)
- if err != nil {
- log.Printf("Could not join %s as %s", mx_room_id, themMxId)
- return "", err
- }
+ //err = mxRoomJoinAs(mx_room_id, themMxId)
+ //if err != nil {
+ // log.Printf("Could not join %s as %s", mx_room_id, themMxId)
+ // return "", err
+ //}
room = DbPmRoomMap{
MxUserID: usMxId,