Don't get new items for people buffers

This commit is contained in:
2015-12-26 23:28:46 -06:00
parent 0afba81c71
commit 9d0c9cfdb5
3 changed files with 7 additions and 8 deletions

View File

@@ -436,7 +436,7 @@ class Controller(object):
return
elif dlg.get("users") == True:
search = buffersController.searchPeopleBufferController(self.view.nb, "search_users", "%s-searchUser" % (term,), buffer.session, buffer.session.db["user_name"], bufferType=None, q=term)
search.start_stream()
search.start_stream(mandatory=True)
pos=self.view.search("searches", buffer.session.db["user_name"])
self.insert_buffer(search, pos)
self.view.insert_buffer(search.buffer, name=_(u"Search for {}").format(term), pos=pos)