funcPresencePoller(getContactfunc(string)*gobjects.Contact,addContactfunc(contact*gobjects.Contact),updateContactfunc(string)){// TODO: make this subscribe-able in ricochet
time.Sleep(time.Second*4)
for{
contacts:=the.Peer.GetContacts()
fori:=rangecontacts{
ct:=getContact(contacts[i])
ifct==nil{// new contact has attempted to connect with us, treat it as an invite