pull/878/head
Audric Ackermann 6 years ago
parent ad682b588a
commit e0ff1755ac
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -2206,11 +2206,13 @@
}, },
"editGroupNameOrPicture": { "editGroupNameOrPicture": {
"message": "Edit group name or picture", "message": "Edit group name or picture",
"description": "Button action that the user can click to edit a group name (open)" "description":
"Button action that the user can click to edit a group name (open)"
}, },
"editGroupName": { "editGroupName": {
"message": "Edit group name", "message": "Edit group name",
"description": "Button action that the user can click to edit a group name (closed)" "description":
"Button action that the user can click to edit a group name (closed)"
}, },
"createGroupDialogTitle": { "createGroupDialogTitle": {
"message": "Creating a Closed Group", "message": "Creating a Closed Group",

@ -1290,9 +1290,13 @@ class LokiPublicChannelAPI {
this.conversation.setSubscriberCount(data.counts.subscribers); this.conversation.setSubscriberCount(data.counts.subscribers);
} }
await window.Signal.Data.updateConversation(this.conversation.id, this.conversation.attributes, { await window.Signal.Data.updateConversation(
Conversation: Whisper.Conversation, this.conversation.id,
}); this.conversation.attributes,
{
Conversation: Whisper.Conversation,
}
);
await this.pollForChannelOnce(); await this.pollForChannelOnce();
} }

@ -197,7 +197,7 @@ export class UpdateGroupNameDialog extends React.Component<Props, State> {
onChange={this.onFileSelected} onChange={this.onFileSelected}
/> />
</div> </div>
</div> </div>
); );
} }

@ -256,7 +256,9 @@ export class SessionGroupSettings extends React.Component<Props, any> {
role="button" role="button"
onClick={this.props.onUpdateGroupName} onClick={this.props.onUpdateGroupName}
> >
{isPublic ? window.i18n('editGroupNameOrPicture') : window.i18n('editGroupName')} {isPublic
? window.i18n('editGroupNameOrPicture')
: window.i18n('editGroupName')}
</div> </div>
)} )}
{showUpdateGroupMembersButton && ( {showUpdateGroupMembersButton && (

Loading…
Cancel
Save