add get/set attribute for profile/contact/group to cwtch_peer that does the action and emits an event #279

Manually merged
sarah merged 1 commits from dan/cwtch:getsetattr into master 2019-10-31 21:48:46 +00:00
Owner

a bunch of code in ui was calling in pattern:

the.Peer.Profile.GetContact(id).SetAttribute(...)
the.bus.Publish( {... SetAttribute ....} )

And I was looking at adding more

Adding these function to the cwtch_peer make it a more useful interface for UIs to build on

There is a big PR for ui coming with a bunch of red from this :)

Also

  • rename profile.GetGroupByGroupID to GetGroup for consistency
a bunch of code in ui was calling in pattern: ``` the.Peer.Profile.GetContact(id).SetAttribute(...) the.bus.Publish( {... SetAttribute ....} ) ``` And I was looking at adding more Adding these function to the cwtch_peer make it a more useful interface for UIs to build on There is a big PR for ui coming with a bunch of red from this :) Also - rename profile.GetGroupByGroupID to GetGroup for consistency
sarah was assigned by dan 2019-10-31 21:42:12 +00:00
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/649
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/650
sarah closed this pull request 2019-10-31 21:48:46 +00:00
sarah closed this pull request 2019-10-31 21:48:46 +00:00
Sign in to join this conversation.
No description provided.