forked from cwtch.im/libcwtch-go
prune logging
This commit is contained in:
parent
178c7e8576
commit
f3d3e35950
2
lib.go
2
lib.go
|
@ -233,7 +233,7 @@ func SendAppEvent(eventJson string) {
|
||||||
log.Debugf("Event: %v", new_event.EventType)
|
log.Debugf("Event: %v", new_event.EventType)
|
||||||
|
|
||||||
// We need to update the local cache
|
// We need to update the local cache
|
||||||
// Ideally I think this would be pusgit hed back into Cwtch
|
// Ideally I think this would be pushed back into Cwtch
|
||||||
switch new_event.EventType {
|
switch new_event.EventType {
|
||||||
case utils.UpdateGlobalSettings:
|
case utils.UpdateGlobalSettings:
|
||||||
var globalSettings utils.GlobalSettings
|
var globalSettings utils.GlobalSettings
|
||||||
|
|
|
@ -247,7 +247,6 @@ func NewManager(profile string, gcd *GrandCentralDispatcher) Manager {
|
||||||
// uiManager.AddContact(onion)
|
// uiManager.AddContact(onion)
|
||||||
// (handle string, displayName string, image string, badge int, status int, authorization string, loading bool, lastMsgTime int)
|
// (handle string, displayName string, image string, badge int, status int, authorization string, loading bool, lastMsgTime int)
|
||||||
func EnrichNewPeer(handle string, ph *PeerHelper, ev *EventProfileEnvelope) error {
|
func EnrichNewPeer(handle string, ph *PeerHelper, ev *EventProfileEnvelope) error {
|
||||||
log.Infof("Enriching New Peer %v", handle)
|
|
||||||
if ph.IsGroup(handle) {
|
if ph.IsGroup(handle) {
|
||||||
group := ph.peer.GetGroup(handle)
|
group := ph.peer.GetGroup(handle)
|
||||||
if group != nil {
|
if group != nil {
|
||||||
|
|
Loading…
Reference in New Issue