Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vvaltman committed May 14, 2015
1 parent dad6729 commit b3dcce3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tgl.h
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ void tgl_dc_iterator_ex (struct tgl_state *TLS, void (*iterator)(struct tgl_dc *
#define TGL_SEND_MSG_FLAG_DOCUMENT_AUTO 32
#define TGL_SEND_MSG_FLAG_DOCUMENT_PHOTO 64

#define TGL_SEND_MSG_FLAG_REPLY(x) (1 << (unsigned long long)x)
#define TGL_SEND_MSG_FLAG_REPLY(x) (((unsigned long long)x) << 32)

typedef tgl_peer_id_t tgl_user_id_t;
typedef tgl_peer_id_t tgl_chat_id_t;
Expand Down
2 changes: 1 addition & 1 deletion updates.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ static void fetch_dc_option_new (struct tgl_state *TLS, struct tl_ds_dc_option *
}

int tgl_check_pts_diff (struct tgl_state *TLS, int pts, int pts_count) {
vlogprintf (E_ERROR, "pts = %d, pts_count = %d\n", pts, pts_count);
vlogprintf (E_DEBUG - 1, "pts = %d, pts_count = %d\n", pts, pts_count);
assert (TLS->pts);
if (pts < TLS->pts + pts_count) {
vlogprintf (E_NOTICE, "Duplicate message with pts=%d\n", pts);
Expand Down

1 comment on commit b3dcce3

@mneeley2005
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tgl-2.0.1.zip
It won't let me back in my telegram account because someone randomly blocked my account and I need to get it fixed please

Please sign in to comment.