diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-11-29 16:18:25 -0500 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-11-29 16:18:25 -0500 |
| commit | 7c44fd17bb6be54a2ea4b60761e91053ca988977 (patch) | |
| tree | 42f08e0db610617fd0629b117610bfa1a365acaf /src/direct_message.h | |
| parent | d90a1e74c77ba67f25a812609fd49d479bc464dd (diff) | |
| download | libtwittercpp-7c44fd17bb6be54a2ea4b60761e91053ca988977.tar.gz libtwittercpp-7c44fd17bb6be54a2ea4b60761e91053ca988977.tar.bz2 libtwittercpp-7c44fd17bb6be54a2ea4b60761e91053ca988977.zip | |
Made tweets, users, and notifications into copyable objects
Notifications are now also mutable. Users and tweets no longer have helper methods for interacting with the client. Fixed a bug (possibly introduced by a change to the Twitter API) that caused non-reply tweets to be marked as unknown notifications.
Diffstat (limited to 'src/direct_message.h')
| -rw-r--r-- | src/direct_message.h | 1 |
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/direct_message.h b/src/direct_message.h index 12e254c..46a66dc 100644 --- a/src/direct_message.h +++ b/src/direct_message.h | |||
| @@ -8,6 +8,7 @@ namespace twitter { | |||
| 8 | class direct_message { | 8 | class direct_message { |
| 9 | public: | 9 | public: |
| 10 | 10 | ||
| 11 | direct_message() {} | ||
| 11 | explicit direct_message(std::string data); | 12 | explicit direct_message(std::string data); |
| 12 | }; | 13 | }; |
| 13 | 14 | ||
