When in a group chat and a file is sent to the group, the following code snippet fails (400) to work:
case GENERIC_MESSAGE__CONTENT_ASSET:
struct Asset *asset;
struct Asset__Original *ao;
Asset__RemoteData *ar;
asset = gm->asset;
ao = asset->original;
ar = asset->uploaded;
engine_fetch_asset(zcall_engine, conv->id, ar->asset_id, "/tmp/");
Also, while in a group chat, calling engine_send_file using for example: engine_send_file(conv, "image/jpeg", "/tmp/x.jpg"); also fails (404).