aboutsummaryrefslogtreecommitdiff
path: root/appservice
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-21 15:12:22 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-21 15:12:22 +0100
commit92d380aa86dfd3e60f5b8d826ec96c0fbc17614a (patch)
treec5edf0e60ee308ba49a0aa526fa5ad184f289f2f /appservice
parenta4cf41536fc8eef743cd330b86e784079100ec6c (diff)
downloadeasybridge-92d380aa86dfd3e60f5b8d826ec96c0fbc17614a.tar.gz
easybridge-92d380aa86dfd3e60f5b8d826ec96c0fbc17614a.zip
Easybridge has an avatar
Diffstat (limited to 'appservice')
-rw-r--r--appservice/server.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/appservice/server.go b/appservice/server.go
index d3ecb43..48e26a6 100644
--- a/appservice/server.go
+++ b/appservice/server.go
@@ -45,6 +45,12 @@ func Start(r *mxlib.Registration, c *Config) (chan error, error) {
if err != nil {
return nil, err
}
+ err = mx.ProfileAvatar(ezbrMxId(), &connector.FileMediaObject{
+ Path: "easybridge.jpg",
+ })
+ if err != nil {
+ return nil, err
+ }
router := mux.NewRouter()
router.HandleFunc("/_matrix/app/v1/transactions/{txnId}", handleTxn)