mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -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();
|
var deferred = $q.defer();
|
||||||
|
|
||||||
// FIXME: We are discarding all the messages.
|
// FIXME: We are discarding all the messages.
|
||||||
matrixService.rooms(1, false).then(
|
matrixService.initialSync(1, false).then(
|
||||||
function(response) {
|
function(response) {
|
||||||
var rooms = response.data.rooms;
|
var rooms = response.data.rooms;
|
||||||
for (var i = 0; i < rooms.length; ++i) {
|
for (var i = 0; i < rooms.length; ++i) {
|
||||||
|
@ -130,8 +130,9 @@ angular.module('matrixService', [])
|
|||||||
return doRequest("POST", path, undefined, req);
|
return doRequest("POST", path, undefined, req);
|
||||||
},
|
},
|
||||||
|
|
||||||
// List all rooms joined or been invited to
|
// Get the user's current state: his presence, the list of his rooms with
|
||||||
rooms: function(limit, feedback) {
|
// the last {limit} events
|
||||||
|
initialSync: function(limit, feedback) {
|
||||||
// The REST path spec
|
// The REST path spec
|
||||||
|
|
||||||
var path = "/initialSync";
|
var path = "/initialSync";
|
||||||
|
Loading…
Reference in New Issue
Block a user