mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-27 07:04:24 +00:00
Merge pull request #309 from slr/tasty-group-messages
fix peers invitation on DM group creation
This commit is contained in:
commit
01e7f7ca9b
@ -357,7 +357,7 @@ function groupMsgCreateGroup(description, peersToInvite) {
|
||||
|
||||
twisterRpc('creategroup', [description],
|
||||
function(peersToInvite, ret) {
|
||||
groupMsgInviteToGroup(ret, peersToInvite.push(defaultScreenName));
|
||||
groupMsgInviteToGroup(ret, peersToInvite.concat([defaultScreenName]));
|
||||
}, peersToInvite,
|
||||
function(req, ret) {
|
||||
alert(polyglot.t('error', {error: 'can\'t create group — ' + ret.message}));
|
||||
|
Loading…
x
Reference in New Issue
Block a user