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

Function markMessageRead

src/bitmessagecli.py:1233–1241  ·  view source on GitHub ↗
(messageID)

Source from the content-addressed store, hash-verified

1231 return int(response.split()[2][:-1])
1232
1233def markMessageRead(messageID):
1234 try:
1235 response = api.getInboxMessageByID(messageID, True)
1236 if "API Error" in response:
1237 return getAPIErrorCode(response)
1238 except:
1239 print '\n Connection Error\n'
1240 usrPrompt = 0
1241 main()
1242
1243def markMessageUnread(messageID):
1244 try:

Callers 2

markAllMessagesReadFunction · 0.85
UIFunction · 0.85

Calls 2

getAPIErrorCodeFunction · 0.85
mainFunction · 0.70

Tested by

no test coverage detected