@ -686,7 +686,7 @@ class singleWorker(threading.Thread, StoppableThread):
else:# if we are sending a message to ourselves or a chan..
logger.info('Sending a message.')
logger.debug('First 150 characters of message: '+repr(message[:150]))
behaviorBitfield='\x00\x00\x00\x01'
behaviorBitfield=getBitfield(fromaddress)
try:
privEncryptionKeyBase58=shared.config.get(
@ -707,7 +707,7 @@ class singleWorker(threading.Thread, StoppableThread):
# Now we can start to assemble our message.
payload=encodeVarint(fromAddressVersionNumber)
payload+=encodeVarint(fromStreamNumber)
payload+='\x00\x00\x00\x01'# Bitfield of features and behaviors that can be expected from me. (See https://bitmessage.org/wiki/Protocol_specification#Pubkey_bitfield_features )
payload+=getBitfield(fromaddress)# Bitfield of features and behaviors that can be expected from me. (See https://bitmessage.org/wiki/Protocol_specification#Pubkey_bitfield_features )
# We need to convert our private keys to public keys in order
# to include them.
@ -760,7 +760,7 @@ class singleWorker(threading.Thread, StoppableThread):
ifshared.config.has_section(toaddress):
logger.info('Not bothering to include ackdata because we are sending to ourselves or a chan.')
shared.UISignalQueue.put(('updateSentItemStatusByAckdata',(ackdata,tr.translateText("MainWindow","Message sent. Sent on %1").arg(l10n.formatTimestamp()))))
else:
# not sending to a chan or one of my addresses
@ -821,7 +821,7 @@ class singleWorker(threading.Thread, StoppableThread):
toStreamNumber,'advertiseobject',inventoryHash))
# Update the sent message in the sent table with the necessary information.