func (self *Whisper) Messages(id int) (messages *common.List) { msgs := self.Whisper.Messages(id) messages = common.EmptyList() for _, message := range msgs { messages.Append(ToQMessage(message)) } return }
func (self *UiLib) Messages(id int) *common.List { /* TODO remove me filter := self.filterManager.GetFilter(id) if filter != nil { messages := xeth.ToMessages(filter.Find()) return messages } */ return common.EmptyList() }