Skip to content

Commit d4a0670

Browse files
committed
fixed group hash update
1 parent 8c86bd3 commit d4a0670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ProviderImpl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,6 @@ class ProviderImpl : public tl::provider<ProviderImpl> {
632632
void _membershipUpdate(ssg_member_id_t member_id,
633633
ssg_member_update_type_t update_type) {
634634
spdlog::trace("[provider:{}] Member {} updated", id(), member_id);
635-
m_group_hash = UpdateGroupHash(m_group_hash, member_id);
636635
spdlog::trace("[provider:{}] Group hash was updated to {}", id(), m_group_hash);
637636
// TODO use the provider's pool instead of self ES
638637
tl::xstream::self().make_thread([this, member_id, update_type]() {
@@ -665,6 +664,7 @@ class ProviderImpl : public tl::provider<ProviderImpl> {
665664
auto& state = p.second;
666665
state->pipeline->updateMonaAddresses(m_mona, addresses);
667666
}
667+
m_group_hash = UpdateGroupHash(m_group_hash, member_id);
668668
}
669669

670670
}, tl::anonymous());

0 commit comments

Comments
 (0)