mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 09:46:07 -04:00
Added edition of room name
This commit is contained in:
parent
6ea20f3503
commit
d934328904
4 changed files with 61 additions and 12 deletions
|
@ -236,6 +236,13 @@ angular.module('matrixService', [])
|
|||
return doRequest("GET", path, undefined, {});
|
||||
},
|
||||
|
||||
setName: function(room_id, name) {
|
||||
var data = {
|
||||
name: name
|
||||
};
|
||||
return this.sendStateEvent(room_id, "m.room.name", data);
|
||||
},
|
||||
|
||||
setTopic: function(room_id, topic) {
|
||||
var data = {
|
||||
topic: topic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue