backend for xcvr appview
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

use new logic based around did

+2 -2
+2 -2
server/internal/model/channel.go
··· 65 65 panic(err) 66 66 } 67 67 uriToServerModel := make(map[string]*channelModel, len(uris)) 68 - myid := os.Getenv("MY_IDENTITY") 68 + myid := os.Getenv("MY_DID") 69 69 for _, uri := range uris { 70 70 valid := (uri.Host == myid) 71 71 beep := channelModel{ ··· 94 94 if ok { 95 95 return errors.New("tried to add existing server!") 96 96 } 97 - valid := (c.Host == os.Getenv("MY_IDENTITY")) 97 + valid := (c.Host == os.Getenv("MY_DID")) 98 98 var welcome string 99 99 if c.Topic == nil { 100 100 welcome = "and now you're connected"