Giter VIP home page Giter VIP logo

telegramcore's People

Contributors

grishka avatar laktyushin avatar overtake avatar petertechstories avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

telegramcore's Issues

Can't get out of profile picture

When choosing a profile picture, I can't always get out of the picture editing mode.

I can't reproduce consistently, but playing with the profile pic should trigger some weird behavior.
I had two separate issues:

  • while editing a picture, the cross on the bottom left didn't work, and the "choose pic + thumbnails" where a tiny bit visible in the top right corner of my screen
  • in the photo album chooser, pressing back would leave me on the same screen

Both times I had to exit the application to get out of the menu.

Header "Postbox-Swift.h" not found error while compiling

Hi guys,
I've already builded and added all frameworks to the project.
while compiling telegramCore I receive an error:

Header 'Postbox-Swift.h' not found

module.modulemap:

framework module Postbox {
  umbrella header "Postbox.h"

  export *
  module * { export * }
}

module Postbox.Swift {
    header "Postbox-Swift.h"  //error shows up at this line
    requires objc
}

another error just shows up right after this one:

Could not build Objective-C module 'Postbox'

when I check the folder, i see that there is a Postbox-Swift.h under Postbox.framework > Header.
can you help me with this?

Autoplay Gifs Issue

Hello
I disable autoplay gifs in setting Telegram x , but still be gifs in channels and groups auto download and play.
photo_2018-02-04_15-57-33

Plz fix this Issue.
Thanks

compile error

Why did I not compile after downloading this library?

Pasting images into compose box is not possible

If you copy an image to your clipboard and attempt to paste it into the telegram x compose box, the paste option does not appear.

Steps to reproduce:

  1. Copy an image to your clipboard by Sharing it and choosing Copy from the bottom row.
  2. With the compose box focused and the keyboard open, tap into the compose box to bring up the copy/paste/select popover.
  3. Notice that the popover does not appear (if the box is empty) or does not contain Paste (if the box has text in it)
    iPhone 7+, iOS 11.2.1, Telegram X 5.0 from App Store.

Videos are black - just hearing sound

Hi,
I download a video from YouTube:

$ youtube-dl -f 18 https://www.youtube.com/watch?v=FL22h3Qka_c

The info about this format:

$ youtube-dl -F  https://www.youtube.com/watch?v=FL22h3Qka_c | grep 18
18           mp4        640x360    medium , avc1.42001E, mp4a.40.2@ 96k

And then sent it to channel with bot:

bot = telegram.Bot(token=token)
bot.sendVideo(chat_id=chat_id,
    video=video,
    caption=caption,
    duration=duration,
    thumb=thumb)

Video will play very well on Telegram of Android, but when playing on Telegram IOS it's a black screen with voice.

If I save the video to gallery from the channel, the video will be play very well with default video player of IOS.

Also I try to convert video (related issue here) but I have same problem.

Any idea?

Thanks.

Thoughts about Telegram

Hey

I just want to share some thoughts about my initial reaction to finding out about Telegram. I noticed someone mentioned it here: https://www.indiegogo.com/projects/light-phone-2-smartphone-design/x/5350629#/comments

Telegram seems like a very interesting app to test out!
From seeing the video of Telegram X it seems you also planning on being able to let the user call other users. It would be great to also include video calls on that list of X features.
Btw hiding user threads in a simple way would also be good. Having perhaps a small yellow dot show another user has written something could perhaps fit in.

Next up...
It seems Telegram X could also be used as a chat feature on a WordPress web site something like I have on one of my client sites: http://celias.no/
It would actually be very helpful to have a WordPress plugin with the Telegram X features.

I think that was it for now.
I am looking forward to checking Telegram X whenever it is available for testing. Let me know and I can beta test it and give feedback. I work as a web designer and have also a focus on UI and UX.

Have a great day!

(The above comment came on Github as it would be too long for Twitter and I did not locate any other means of giving you feedback.)

[Telegram X]Front camera not working on Video messages.

Version: 0.20.7.918-arm64-v8a Device: BlackBerry DTEK50 Android OS version: 6.0.1

I have tried after resetting phone also but front camera for video messages not working. Rear camera working normal. This is happening since all versions i have installed.

Let me know if you need some file from device for checking log etc.

Type
bug

Priority
major

https://bitbucket.org/challegram/challegram/issues/875/front-camera-not-working-on-video-messages

When using a headset on iOS, the phone's microphone is used

Whenever I used a headset on my iPhone, sending an audio clip via Telegram X uses the phone's microphone, rather than the headset.

This means that I have to keep the phone near my mouth while recording, unlike Telegram or other similar apps.

Telegram X source code

Would it be possible for you to release the complete Telegram code in swift?
I'm developing a Telegram client application and would like to start developing it with the source code in Swift.

Thank you.

Docs

Where can I find the docs for TelegramCore?
( I'm stucked at the beginning - with creating UnauthorizedAccount object :/ )

Auto open emoji panel

In the Original Telegram for Android, when you press the sticker button after typing some text, it automatically opens the emoji panel rather than the sticker panel so that it is easier to append emojis. This is not the case in Telegram X.

Steps to reproduce:

  1. Have the Stickers button by default beside the input box in the chat screen.
  2. Type some text.
  3. Tab the stickers button.

Expected output: Emoji panel opens

How it works now: Stickers panel opens

[Suggestion] Message reactions

One thing I find is missing from other messaging platforms is reacting to messages.

I think a good way to bring this to telegram would be to handle emoji only replies as reactions.
This would allow supporting apps to have a nice UX for reactions, while being backwards compatible with other clients.

Thanks for your work on this great platform.

Compile problem

Hello, I added SwiftSignalKit, Postbox, MtProtoKitDynamic, and when i'm going to compile but get an error - Use of undeclared type 'LocalMessageTags'. Where do I find the source LocalMessageTags class? Thanks.

Separating channels and groups

This would be a good feature which already exists in many popular unofficial telegrams. It can be implemented by adding tabs beside calls and chats

Signin “Haven’t received the code?” button does not work

When signing in for the first time, the “haven’t received the code” button does nothing when pressed, even after the sixty second wait that I remember being a thing on another telegram client.

iPhone 7+, iOS 11.2.1, App Store latest release of Telegram X

offsetPendingMessagesTimestamps

Hi.
What should I put for the following parameter in the following code?

excludeIds: Set < MessageId >

        if let latestIndex = mapping.last?.1 {
            modifier.offsetPendingMessagesTimestamps(lowerBound: latestIndex.id, excludeIds: Set<MessageId>, timestamp: latestIndex.timestamp)
        }

        if let updatedTimestamp = updatedTimestamp {
            modifier.offsetPendingMessagesTimestamps(lowerBound: message.id, excludeIds: Set<MessageId>, timestamp: updatedTimestamp)
        }

[Feachure Request] Option to set message as read in Notifications.

When a new message arrives on a locked device user may swipe it to Clear the notification.
If the user has message previews enabled for Notifications in significant amount of times they actually read the full message in the preview. This goes for short messages, that fit in preview, smilies, emojis, stickers, etc.

In this case a feature allowing user to optionally send a read notification to their party would be helpful.
Maybe something like a longer swipe on Notification that would reveal a "Mark as read" control?

Can’t send comment via share

Happy New Year everyone! ☝️🍾🎉

I can’t attach comment to sending stuff via share. Check screenshot below
f836fbc3-2b9d-465d-b505-2188ed717500

Additional info
iPhone 7 Plus, iOS 11.2.1
Telegram X 5.0

.m4a audio file cannot be played in Telegram

Hi,

Title says it all.
Friend shared a .m4a file to me, but I cannot play it in Telegram X on iOS 11(latest available) on iPhone 8+
The file is not corrupted, because it can be downloaded and played directly in the Telegram Desktop (W10) application.

Cheers

Telegram X does not send picture edited via photos app

Steps to reproduce:

  1. Take a picture (e.g. from camera)
  2. Send it to someone in Telegram X
  3. Edit it via photos editor, e.g. draw something on it and save the resulting pic
  4. Send edited pic to someone

You will see that sent picture is the one from step 2, not the edited one as you would expect.

Telegram X thumbnail links broken

When attaching photos, I select 1-10 thumbnails but different photos are sent when confirmed. Seems like there is some broken linking between folders, as same thumbnails results in same wrong photos every time. However, sometimes, it works ok, often in single bulk .. e.g. I select last 10 photos and half of them are ok, half like week old.
Only workaround to send proper photo is to open it via different tool and share. But it's slow and can handle one photo at once.

Unrooted Xperia XZ.

Swipe on message to reply

I've noticed that the feature that is present in original Telegram is missing from Telegram X.

In case you don't know what I'm referring to. In the original app, you can swipe on a single message bubble to reply to it instead of holding on a message bubble and pressing reply then.

[Security issue] iOS Telegram X: possibility to send unauthorized messages with Telegram Passcode set

There is a possibility to send any message to any contact, even though a Telegram Passcode is set and the app is locked.
Steps to reproduce:

  1. Set a Telegram Passcode
  2. Lock the app
  3. Find any shareable media (e.g. a website, a photo from gallery)
  4. After clicking the "share" button, select Telegram X as an application to share through
  5. No popup/screen asking for passcode appears, you can send any message through a comment to any of your contacts now

Found on iOS 9.3.5, Telegram X version 5.0.2

AccountManager.swift : Unable to infer closure type in the current context

I'm compiling the source and the error "Unable to infer closure type in the current context" pops up:

public func temporaryAccount(manager: AccountManager, rootPath: String) -> Signal<TemporaryAccount, NoError> {
    return manager.allocatedTemporaryAccountId()
    |> mapToSignal { id -> Signal<TemporaryAccount, NoError> in
        let path = "\(rootPath)/\(accountRecordIdPathName(id))"
        return openPostbox(basePath: path + "/postbox", globalMessageIdsNamespace: Namespaces.Message.Cloud, seedConfiguration: telegramPostboxSeedConfiguration)
        |> mapToSignal { result -> Signal<TemporaryAccount, NoError> in
            switch result {
                case .upgrading:
                    return .complete()
                case let .postbox(postbox):
                    return .single(TemporaryAccount(id: id, basePath: path, postbox: postbox))
            }
        }
    }
}

The error occurs on mapToSignal line (line 3 above). How could I fix this?

Telegram X: Annoying 5 seconds delay undo deleted chat history UX

I just updated my Telegram X and noticed this new 5 seconds delay undo deleted chat history notification at the bottom of the screen. This is rather annoying because I have to wait for the 5 seconds animation to finish to be able to navigate to other tab such as Contacts, Calls, Chat, Settings which is currently blocked by the black notification on top of the tabs. Imagine I have to clear 5 chat history that would wasted nearly 25 seconds of my life.

Why would you create this stupid undo feature. If you really need to reverse something you did not intend to do at the first place, maybe it's better if you ask a confirmation button instead of this? Another idea is to change the position of the notification to not block the bottom tabs. Also, not everyone needs that god damn undo button it pisses me off please add an option to disable it in the Settings.

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.