diff --git a/protocol/messenger_communities.go b/protocol/messenger_communities.go index 5980e69d7c6..28b854c7ebe 100644 --- a/protocol/messenger_communities.go +++ b/protocol/messenger_communities.go @@ -354,6 +354,11 @@ func (m *Messenger) RequestToJoinCommunity(request *requests.RequestToJoinCommun return nil, err } + displayName, err := m.settings.DisplayName() + if err != nil { + return nil, err + } + community, requestToJoin, err := m.communitiesManager.RequestToJoin(&m.identity.PublicKey, request) if err != nil { return nil, err @@ -366,6 +371,7 @@ func (m *Messenger) RequestToJoinCommunity(request *requests.RequestToJoinCommun requestToJoinProto := &protobuf.CommunityRequestToJoin{ Clock: requestToJoin.Clock, EnsName: requestToJoin.ENSName, + DisplayName: displayName, CommunityId: community.ID(), } diff --git a/protocol/messenger_handler.go b/protocol/messenger_handler.go index c00b779af7a..bf0bea7563f 100644 --- a/protocol/messenger_handler.go +++ b/protocol/messenger_handler.go @@ -961,6 +961,13 @@ func (m *Messenger) HandleCommunityRequestToJoin(state *ReceivedMessageState, si contact, _ := state.AllContacts.Load(contactID) + if len(requestToJoinProto.DisplayName) != 0 { + contact.DisplayName = requestToJoinProto.DisplayName + state.ModifiedContacts.Store(contact.ID, true) + state.AllContacts.Store(contact.ID, contact) + state.ModifiedContacts.Store(contact.ID, true) + } + state.Response.AddNotification(NewCommunityRequestToJoinNotification(requestToJoin.ID.String(), community, contact)) return nil diff --git a/protocol/protobuf/communities.pb.go b/protocol/protobuf/communities.pb.go index 87ef35bad3c..59c2cc50da4 100644 --- a/protocol/protobuf/communities.pb.go +++ b/protocol/protobuf/communities.pb.go @@ -597,6 +597,7 @@ type CommunityRequestToJoin struct { EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` CommunityId []byte `protobuf:"bytes,4,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` + DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -655,6 +656,13 @@ func (m *CommunityRequestToJoin) GetCommunityId() []byte { return nil } +func (m *CommunityRequestToJoin) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + type CommunityRequestToJoinResponse struct { Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` Community *CommunityDescription `protobuf:"bytes,2,opt,name=community,proto3" json:"community,omitempty"` @@ -1103,87 +1111,88 @@ func init() { } var fileDescriptor_f937943d74c1cd8b = []byte{ - // 1299 bytes of a gzipped FileDescriptorProto + // 1315 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x4f, 0x6f, 0x1b, 0x45, 0x14, 0xef, 0xfa, 0xbf, 0x9f, 0xed, 0xd4, 0x99, 0xb6, 0xe9, 0x36, 0xa5, 0x8d, 0xbb, 0x80, 0xe4, 0x0a, 0xe1, 0xaa, 0xa9, 0x90, 0x2a, 0xfe, 0xb4, 0x75, 0x53, 0xab, 0x98, 0x26, 0x76, 0x3b, 0x4e, - 0x28, 0xf4, 0xc0, 0x6a, 0xed, 0x9d, 0x38, 0xa3, 0xec, 0xce, 0x9a, 0x9d, 0x71, 0x84, 0x39, 0x70, - 0x03, 0xf1, 0x11, 0x90, 0x38, 0x22, 0xf1, 0x45, 0xb8, 0x73, 0xe7, 0xc6, 0x47, 0x41, 0x33, 0xb3, - 0xbb, 0x5e, 0x27, 0x76, 0x1a, 0xa9, 0xe2, 0xb4, 0xf3, 0xde, 0xbc, 0xf7, 0x9b, 0xf7, 0xff, 0x2d, - 0xac, 0x8f, 0x02, 0xdf, 0x9f, 0x32, 0x2a, 0x28, 0xe1, 0xad, 0x49, 0x18, 0x88, 0x00, 0x95, 0xd4, - 0x67, 0x38, 0x3d, 0x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0x27, + 0xd3, 0x3e, 0x74, 0x98, 0xed, 0x51, 0x2e, 0xcc, 0x62, 0x23, 0xdb, 0x2c, 0xe3, 0xe2, 0xd0, 0x61, + 0xbb, 0x94, 0x0b, 0xd4, 0x03, 0x18, 0x39, 0x82, 0x8c, 0xfd, 0x90, 0x12, 0x6e, 0x96, 0xd4, 0x03, + 0xad, 0xb7, 0x3d, 0x90, 0x28, 0xe8, 0x57, 0x52, 0x08, 0xe8, 0x21, 0x98, 0x4e, 0x38, 0x3a, 0xa2, + 0x27, 0xc4, 0x9e, 0x38, 0x63, 0x46, 0x84, 0x47, 0xd9, 0xb1, 0xad, 0x33, 0x52, 0x56, 0x19, 0xd9, + 0x88, 0xee, 0xf7, 0x92, 0xeb, 0x1d, 0x95, 0xa2, 0xe7, 0xb0, 0xe6, 0xb8, 0x13, 0xca, 0x6c, 0x4e, + 0x84, 0xa0, 0x6c, 0xcc, 0x4d, 0x50, 0xf1, 0x69, 0x2c, 0xb1, 0xa6, 0x2d, 0x05, 0x07, 0x91, 0x1c, + 0xae, 0x39, 0x69, 0x12, 0xbd, 0x0f, 0x35, 0xca, 0x44, 0xe8, 0xdb, 0x13, 0xc2, 0xb9, 0x33, 0x26, + 0x66, 0x45, 0x75, 0x6f, 0x55, 0x31, 0xf7, 0x34, 0x4f, 0x0a, 0xf9, 0xd3, 0xb4, 0x50, 0x55, 0x0b, + 0x29, 0x66, 0x2c, 0xf4, 0x1e, 0x94, 0x09, 0x1b, 0x85, 0xb3, 0x40, 0x10, 0xd7, 0xac, 0xa9, 0xae, + 0x98, 0x33, 0x36, 0x0f, 0xa0, 0x9a, 0xae, 0x12, 0x54, 0x87, 0xec, 0x31, 0xd1, 0x7d, 0x55, 0xc6, + 0xf2, 0x88, 0xee, 0x41, 0xfe, 0xc4, 0xf1, 0xa6, 0xba, 0xa3, 0x2a, 0xdb, 0x37, 0x56, 0xb6, 0x3f, + 0xd6, 0x72, 0x9f, 0x66, 0x1e, 0x1a, 0x9b, 0x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x80, 0xeb, 0x2b, 0xbc, 0x40, + 0x2f, 0xa0, 0x14, 0xfd, 0xe1, 0xc4, 0xfb, 0xe9, 0xde, 0x79, 0x36, 0x2a, 0xa5, 0x56, 0x44, 0x44, + 0xab, 0x2a, 0x01, 0xd8, 0x3c, 0x84, 0xda, 0xc2, 0xd5, 0x92, 0xc9, 0xff, 0x78, 0x71, 0xf2, 0xdf, + 0x7d, 0xeb, 0x63, 0x49, 0x54, 0xe6, 0x9b, 0xe0, 0x69, 0xed, 0x4d, 0xa5, 0x75, 0xef, 0xb3, 0x58, + 0x73, 0x58, 0x50, 0xa7, 0x07, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x1b, 0xf8, 0x1d, 0xcf, 0x7e, 0x0d, 0x00, 0x00, } diff --git a/protocol/protobuf/communities.proto b/protocol/protobuf/communities.proto index 20bfd91fa18..cc7752ceddd 100644 --- a/protocol/protobuf/communities.proto +++ b/protocol/protobuf/communities.proto @@ -80,6 +80,7 @@ message CommunityRequestToJoin { string ens_name = 2; string chat_id = 3; bytes community_id = 4; + string display_name = 5; } message CommunityRequestToJoinResponse {