Beispiel #1
0
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
}
Beispiel #2
0
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()
}