Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify character counter to take into account usernames at beginning of tweets #276

Closed
inb4ohnoes opened this issue Apr 11, 2017 · 1 comment

Comments

@inb4ohnoes
Copy link
Contributor

Maybe modify

- (NSInteger)st_numberOfCharactersInATweet;

and

- (NSInteger)st_numberOfCharactersInATweetWithShortURLLength:(NSUInteger)shortURLLength shortURLLengthHTTPS:(NSUInteger)shortURLLengthHTTS;

to be something like

- (NSInteger)st_numberOfCharactersInATweetDiscountingReplyUsers:(BOOL)discountingUsers;

and

- (NSInteger)st_numberOfCharactersInATweetWithShortURLLength:(NSUInteger)shortURLLength shortURLLengthHTTPS:(NSUInteger)shortURLLengthHTTS discountingReplyUsers:(BOOL)discounitngUsers;

?

I don't know how Twitter determines what to count and what to discount...

@inb4ohnoes
Copy link
Contributor Author

Never mind I got it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant