SendProfileEvent #6
Loading…
Reference in New Issue
No description provided.
Delete Branch "add_profile_form"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -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) {
c_SendProfileEvent
@ -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)
SendProfileEvent(onion, eventJson)
}
func SendProfileEvent(onion, eventJson string) {
@ -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: {
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
SendAppBusEventto SendProfileEvent