You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Select new tag after creating the group
This commit is contained in:
@@ -88,6 +88,13 @@ export default createReactClass({
|
|||||||
action: 'view_room',
|
action: 'view_room',
|
||||||
room_id: result.room_id,
|
room_id: result.room_id,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Ensure the tag gets selected now that we've created it
|
||||||
|
dis.dispatch({action: 'deselect_tags'}, true);
|
||||||
|
dis.dispatch({
|
||||||
|
action: 'select_tag',
|
||||||
|
tag: result.group_id,
|
||||||
|
});
|
||||||
} else {
|
} else {
|
||||||
dis.dispatch({
|
dis.dispatch({
|
||||||
action: 'view_group',
|
action: 'view_group',
|
||||||
|
|||||||
Reference in New Issue
Block a user