repo.or.cz
/
gitter.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge branch 'hotfix/21.56.9' into master
[gitter.git]
/
server
/
handlers
/
renderers
/
main-frame
/
snapshots.js
blob
96351b9ae1340827f029bc94b704b52cf49f2895
1
'use strict';
2
3
/**
4
* Snapshots are data that will be sent to the client on page load
5
*/
6
function getMainFrameSnapshots(options) {
7
var rooms = options.rooms;
8
var groups = options.groups;
9
10
return {
11
allRooms: rooms,
12
groups: groups
13
};
14
}
15
16
module.exports = getMainFrameSnapshots;