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) {
|
||||
final channel = e.channel!;
|
||||
updateChannelState(channelState.copyWith(
|
||||
channel: channel,
|
||||
channel: channel.copyWith(
|
||||
ownCapabilities: channelState.channel?.ownCapabilities,
|
||||
),
|
||||
members: channel.members,
|
||||
));
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user