mirror of
https://github.com/markqvist/LXMF.git
synced 2024-10-01 01:35:36 -04:00
Updated example
This commit is contained in:
parent
fe14f8744d
commit
fc99010a3d
@ -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…
Reference in New Issue
Block a user