Using new cwtch attributes and get/ret val requests #272
无审核者
标签
未选择标签
1app
2 apps
accessibility
android
before-beta
bug
duplicate
enhancement
first-contact
fixed
help wanted
infrastructure
invalid
low-priority
must-fix
needs testing
nice-to-have
question
tor
user-feedback
wontfix
未选择里程碑
未指派成员
3 名参与者
到期时间
未设置到期时间。
依赖工单
没有设置依赖项。
参考:cwtch.im/ui#272
正在加载...
在新工单中引用
没有提供说明。
删除分支 :keyval
删除分支是永久的。虽然已删除的分支在实际被删除前有可能会短时间存在,但这在大多数情况下无法撤销。是否继续?
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/ui/508
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/ui/509
WIP: Using new cwtch attributes and get/ret val requests为 Using new cwtch attributes and get/ret val requestsDrone Build Status: success
https://build.openprivacy.ca/cwtch.im/ui/510
@ -93,0 +99,4 @@
}
}
case event.NewRetValMessageFromPeer:
// TODO: update the ui
?
oph, reminder to myself i didnt delete after I filled the case:
@ -331,0 +327,4 @@
if !exists {
zoom = "1.0"
}
locale, exists := the.Peer.GetAttribute(attr.GetSettingsScope(constants.LocaleSetting))
I feel we need a better way of managing defaults than this.
we were doing nothing. open to suggestions. we don't really have a good handle yet on what our settings will ultimatly be, we need to work on our settings management some. Erinn has some ideas on this
@ -0,0 +3,4 @@
import "encoding/json"
const (
TypeImageDistro = "distro"
wat? needs documentation
@ -57,0 +69,4 @@
log.Infof("get nick for contact %v\n", id)
nick, exists := the.Peer.GetContactAttribute(id, attr.GetLocalScope(constants.Name))
if !exists {
log.Infof("local !exits\n")
remove infos
@ -57,0 +72,4 @@
log.Infof("local !exits\n")
nick, exists = the.Peer.GetContactAttribute(id, attr.GetPeerScope(constants.Name))
if !exists {
log.Infof("peer !exists\n")
and this one
@ -85,3 +103,1 @@
return RandomGroupImage(id)
} else {
return profilePicRelativize(pic)
log.Debugln("is group")
remove overly verbose debug statements like this one
@ -97,1 +135,4 @@
func getPicturePath(pic *image) string {
log.Debugf("getPicturePath for %v\n", pic)
if pic.T == TypeImageDistro {
should be a switch statement with a default
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/ui/511