mirror of
https://github.com/markqvist/LXMF.git
synced 2025-11-24 01:13:07 -05:00
Updated example
This commit is contained in:
parent
fe14f8744d
commit
fc99010a3d
1 changed files with 2 additions and 2 deletions
|
|
@ -13,8 +13,8 @@ def delivery_callback(message):
|
||||||
if message.unverified_reason == LXMF.LXMessage.SOURCE_UNKNOWN:
|
if message.unverified_reason == LXMF.LXMessage.SOURCE_UNKNOWN:
|
||||||
signature_string = "Cannot verify, source is unknown"
|
signature_string = "Cannot verify, source is unknown"
|
||||||
|
|
||||||
stamp_cost = 12
|
required_stamp_cost = 12
|
||||||
if message.validate_stamp(stamp_cost):
|
if message.validate_stamp(required_stamp_cost):
|
||||||
stamp_string = "Valid"
|
stamp_string = "Valid"
|
||||||
else:
|
else:
|
||||||
stamp_string = "Not valid"
|
stamp_string = "Not valid"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue