Added basic creation of document buffers in communities
This commit is contained in:
@@ -68,7 +68,7 @@ class vkSession(object):
|
||||
# Example of this behaviour is when you upload an audio and inmediately delete the audio, VK still sends the post stating that you uploaded an audio file,
|
||||
# But without the audio data, making socializer to render an empty post.
|
||||
# Here we check if the post contains data of the type it advertises.
|
||||
if i.get("type") != None and post_types.get(i["type"]) not in i:
|
||||
if i.get("type") != None and isinstance(i["type"], str) and post_types.get(i["type"]) not in i:
|
||||
log.error("Detected invalid or unsupported post. Skipping...")
|
||||
log.error(i)
|
||||
continue
|
||||
|
Reference in New Issue
Block a user