MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / getCurrentMessagelist

Method getCurrentMessagelist

src/bitmessageqt/__init__.py:3471–3482  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3469 return self.ui.treeWidgetYourIdentities
3470
3471 def getCurrentMessagelist(self):
3472 currentIndex = self.ui.tabWidget.currentIndex();
3473 messagelistList = [
3474 self.ui.tableWidgetInbox,
3475 False,
3476 self.ui.tableWidgetInboxSubscriptions,
3477 self.ui.tableWidgetInboxChans,
3478 ]
3479 if currentIndex >= 0 and currentIndex < len(messagelistList):
3480 return messagelistList[currentIndex]
3481 else:
3482 return False
3483
3484 def getAccountMessagelist(self, account):
3485 try:

Calls

no outgoing calls

Tested by

no test coverage detected