fix(llc): use local ownCapabilities for channel.updated events
This commit is contained in:
@@ -1569,7 +1569,9 @@ class ChannelClientState {
|
|||||||
_subscriptions.add(_channel.on(EventType.channelUpdated).listen((Event e) {
|
_subscriptions.add(_channel.on(EventType.channelUpdated).listen((Event e) {
|
||||||
final channel = e.channel!;
|
final channel = e.channel!;
|
||||||
updateChannelState(channelState.copyWith(
|
updateChannelState(channelState.copyWith(
|
||||||
channel: channel,
|
channel: channel.copyWith(
|
||||||
|
ownCapabilities: channelState.channel?.ownCapabilities,
|
||||||
|
),
|
||||||
members: channel.members,
|
members: channel.members,
|
||||||
));
|
));
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user