mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
matrixService.rooms must be renamed matrixService.initialSync now
This commit is contained in:
parent
21d6ce2380
commit
9a5f224931
@ -105,7 +105,7 @@ angular.module('eventStreamService', [])
|
||||
var deferred = $q.defer();
|
||||
|
||||
// FIXME: We are discarding all the messages.
|
||||
matrixService.rooms(1, false).then(
|
||||
matrixService.initialSync(1, false).then(
|
||||
function(response) {
|
||||
var rooms = response.data.rooms;
|
||||
for (var i = 0; i < rooms.length; ++i) {
|
||||
|
@ -130,8 +130,9 @@ angular.module('matrixService', [])
|
||||
return doRequest("POST", path, undefined, req);
|
||||
},
|
||||
|
||||
// List all rooms joined or been invited to
|
||||
rooms: function(limit, feedback) {
|
||||
// Get the user's current state: his presence, the list of his rooms with
|
||||
// the last {limit} events
|
||||
initialSync: function(limit, feedback) {
|
||||
// The REST path spec
|
||||
|
||||
var path = "/initialSync";
|
||||
|
Loading…
Reference in New Issue
Block a user