We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ffb42eb + 97671af commit 63c485eCopy full SHA for 63c485e
js/models/room.js
@@ -40,11 +40,30 @@
40
*/
41
var Room = Backbone.Model.extend({
42
defaults: {
43
- name: '',
+ id: '',
44
token: '',
45
+ name: '',
46
+ type: 0,
47
+ displayName: '',
48
+ objectType: '',
49
+ objectId: '',
50
+ participantType: 0,
51
+ participantFlags: 0,
52
count: 0,
- active: false,
- lastPing: 0
53
+ hasPassword: false,
54
+ hasCall: false,
55
+ lastActivity: 0,
56
+ unreadMessages: 0,
57
+ unreadMention: false,
58
+ isFavorite: false,
59
+ notificationLevel: 0,
60
+ lastPing: 0,
61
+ sessionId: '0',
62
+ participants: [],
63
+ numGuests: 0,
64
+ guestList: '',
65
+ lastMessage: [],
66
+ active: false
67
},
68
url: function() {
69
return OC.linkToOCS('apps/spreed/api/v1/room', 2) + this.get('token');
0 commit comments