SendProfileEvent #6

Merged
dan merged 2 commits from add_profile_form into trunk 2021-03-04 02:06:02 +00:00
Owner
No description provided.
dan was assigned by sarah 2021-03-04 01:30:23 +00:00
dan reviewed 2021-03-04 01:52:47 +00:00
lib.go Outdated
@ -113,1 +113,4 @@
//export c_SendAppBusEvent
// Generic Method for Re-sending AppBus Events from a UI
func c_SendAppBusEvent(onion_ptr *C.char, onion_len C.int, json_ptr *C.char, json_len C.int) {
Owner

c_SendProfileEvent

c_SendProfileEvent
lib.go Outdated
@ -114,0 +116,4 @@
func c_SendAppBusEvent(onion_ptr *C.char, onion_len C.int, json_ptr *C.char, json_len C.int) {
onion:= C.GoStringN(onion_ptr, onion_len)
eventJson:= C.GoStringN(json_ptr, json_len)
Owner

SendProfileEvent(onion, eventJson)
}

func SendProfileEvent(onion, eventJson string) {

SendProfileEvent(onion, eventJson) } func SendProfileEvent(onion, eventJson string) {
lib.go Outdated
@ -114,0 +133,4 @@
// We need to update the local cache
// Ideally I think this would be pushed back into Cwtch
switch new_event.EventType {
case event.SetProfileName: {
Owner

Drop SetProfileName, it should be deprecated, just make a generic SetAttribute call from dart, with the public.name done there, and we don't even have to catch special here

Drop SetProfileName, it should be deprecated, just make a generic SetAttribute call from dart, with the public.name done there, and we don't even have to catch special here
sarah changed title from SendAppBusEvent to SendProfileEvent 2021-03-04 02:01:57 +00:00
dan merged commit 868ec3d203 into trunk 2021-03-04 02:06:02 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: flutter/libcwtch-go#6
No description provided.