set ourselves as attached before actually attaching, in case the attach calls our callback which does a write which calls buffer_empty again
set ourselves as attached before actually attaching, in case the attach calls our callback which does a write which calls buffer_empty again

jku/telepathy-gabble,Ziemin/telepathy-gabble,Ziemin/telepathy-gabble,mlundblad/telepathy-gabble,jku/telepathy-gabble,jku/telepathy-gabble,Ziemin/telepathy-gabble,Ziemin/telepathy-gabble,mlundblad/telepathy-gabble,mlundblad/telepathy-gabble